package org.bright.config;

import org.springframework.context.annotation.*;
import org.springframework.stereotype.Controller;

/**
 * @ClassName: SpringConfig
 * @Description: spring配置类
 * @Author: 晓东√
 * @Date: 2024-09-24 09:36
 * @Version: 1.0
 **/
@Configuration
@ComponentScan(value = "org.bright",
        excludeFilters = @ComponentScan.Filter(
                type = FilterType.ANNOTATION,
                classes = Controller.class
        )
)
@PropertySource({"classpath:database.properties"})
@Import({JdbcConfig.class, MyBatisConfig.class})
public class SpringConfig {

}
